package main

import (
	"fmt"
	"net/http"
)

func init() {}

type helloHandler struct{}

func (h *helloHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	w.Write([]byte("wujiangpan"))
}

func main() {
	fmt.Println("wujiangpan")
	http.Handle("/", &helloHandler{})
	http.ListenAndServe(":9000", nil) //设置监听的端口
}
